package com.haixiaoke.saas.order.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haixiaoke.saas.common.annotation.Excel;
import com.haixiaoke.saas.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;


/**
 * 订单验房信息对象 biz_order_house_inspection
 *
 * @author qixi
 * @date 2024-04-09
 */
@Data
public class OrderHouseInspection extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 验房id
     */
    private Long inspectionId;

    /**
     * 订单id
     */
    @Excel(name = "订单id")
    private String orderId;

    /**
     * 租户id
     */
    @Excel(name = "租户id")
    private String tenantId;

    /**
     * 房屋id
     */
    @Excel(name = "房屋id")
    private String houseId;

    /**
     * 房屋状态：1正常 2损坏
     */
    @Excel(name = "房屋状态：1正常 2损坏")
    private String houseState;

    /**
     * 设施详情（json格式
     */
    private String facilityDetails;
    private List<Map<String, Object>> facilityDetailList;

    /**
     * 房屋图片
     */
    private String houseImgs;

    private List<String> houseImgsList;

    /**
     * 申请时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applicationTime;

    /**
     * 退租时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "退租时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date refundRentTime;

}
